package com.itheima.service.Impl;

import com.itheima.domain.UserInfo;
import com.itheima.mapper.UserMapper;
import com.itheima.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @param
 * @return
 */
@Service
public class UserServiceImpl implements UserService {
    @Autowired
    private UserMapper userMapper ;
 /*   public void setUserMapper(UserMapper userMapper) {
        this.userMapper = userMapper;
    }*/

    public List<UserInfo> findAll() {
        return userMapper.findAll();
    }
}
